package com.freestyle.seatabusiness.api.service;

/**
 * 库存管理接口
 * Created by rocklee on 2021/12/16 9:35
 */
public interface StockService {
  /**
   * 扣减库存
   *
   * @param commodityCode 商品编号
   * @param count         扣减数量
   */
  void deduct(String commodityCode, int count);

}
